package com.xyz.entity.mapper;

import com.xyz.entity.pojo.UpkeepPart;
import com.xyz.entity.pojo.UpkeepPartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UpkeepPartMapper {
    long countByExample(UpkeepPartExample example);

    int deleteByExample(UpkeepPartExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UpkeepPart record);

    int insertSelective(UpkeepPart record);

    List<UpkeepPart> selectByExample(UpkeepPartExample example);

    UpkeepPart selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UpkeepPart record, @Param("example") UpkeepPartExample example);

    int updateByExample(@Param("record") UpkeepPart record, @Param("example") UpkeepPartExample example);

    int updateByPrimaryKeySelective(UpkeepPart record);

    int updateByPrimaryKey(UpkeepPart record);
}